package com.iocup.keybastion.authentication;

import java.io.Serializable;
import java.util.Date;

/**
 *  刷新token，用于来刷新token，自定续签等功能
 * @author xyjxust
 * @create 2021/11/24
 **/
public interface RefreshToken extends Serializable {

    String getToken();

    RefreshToken setToken(String token);

    Date getExpiration();

    RefreshToken setExpiration(Date data);
}
